package kr.hkit.powerjava.chapter08.submit;

class Movie {

	private String title, director, actors;

	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getDirector() {
		return director;
	}
	public void setDirector(String director) {
		this.director = director;
	}
	public String getActors() {
		return actors;
	}
	public void setActors(String actors) {
		this.actors = actors;
	}

	void print() {
		System.out.println(title + ", " + director +", "+ actors);
	}
}

public class MovieTest{
	public static void main(String[] args) {
		Movie m = new Movie();
		m.setTitle("Transformer");
		m.setDirector("Michel bay");
		m.setActors("Mark Wahlberg");
		m.print();
		
	}
}

